package top.hidoctor.auscultation.net.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import top.hidoctor.auscultation.bean.User;

@Data
public class UsersReq {
    private String realName;
    private Integer gender;
    private String idCard;
    private String phone;
    private String birthday;
    private String nation;
    private String specialty;
    private RoleBean role;
    private HospitalBean hospital;
    private String position;
    private String education;
    private String degree;
    private String email;
    private String address;
    private String detailAddress;
    private String certificate;
    private String idcardPhoto;
    private String avatar;

    @AllArgsConstructor
    @Data
    public static class HospitalBean {
        /**
         * hospitalName : 听诊研究中心
         * id : 67918961378852864
         */

        private String hospitalName;
        private String id;
    }

    @AllArgsConstructor
    @Data
    public static class RoleBean {
        /**
         * id : 3124295500824576
         * name : 超级管理员
         */

        private String id;
        private String name;
    }

}
